package com.topone.dto;

import com.topone.Enum.CouponEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by Administrator on 2018/1/26,0026.
 */
@Data
public class TcCouponDTO {

    private String couponId;        //优惠券Id
    private String couponCode;      //优惠券code
    private String couponName;      //优惠券名称
    private Integer couponType;  //优惠券种类
    private Integer couponStock;      //优惠券数量
    private BigDecimal couponPrice; //优惠券价格
    private BigDecimal discountPrice; //抵扣价
    private Integer   creditPrice;   //积分价格
    private String useCondition;    //折扣最低条件
    private String couponRank;      //优惠券使用范围
    private Integer couponStatus= CouponEnum.UP.getCode();    //优惠券状态
    private String couponIcon;       //优惠券图标
    private String bussinessId;     //商家id
    private String imageId;
    private Integer isFlashsale;    //是否为限时抢购优惠券
    private Date activityDurationStart;  //活动开始有效期
    private Date activityDurationEnd;  //活动结束有效期
    private Date useDurationStart;       //消费开始有效期
    private Date useDurationEnd;       //消费结束有效期
    private Date useDurationEndTime;  //每天活动结束有效期
    private Date useDurationStartTime;       //每天消费开始有效期
    private BigDecimal lowestConsume;    //最低消费
    private BigDecimal couponValue;     //优惠券面额
    private Integer couponNumLimit;  //领券限额
    private BussinessDTO bussinessDTO;
    private CouponCategoryDTO couponCategoryDTO;
    private ImageDTO imageDTO;

    public BigDecimal getCouponPrice() {
        return couponPrice;
    }

    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }

    public BigDecimal getDiscountPrice() {
        return discountPrice;
    }

    public void setDiscountPrice(BigDecimal discountPrice) {
        this.discountPrice = discountPrice;
    }
}
